package com.bingxue.edu.management.report.model.resp;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.math.BigDecimal;

@Data
@EqualsAndHashCode(callSuper = false)
@Schema(description = "财务收支统计信息")
public class FinAccountStatResp {

    @Schema(description = "账户id")
    private String id;

    @Schema(description = "账户名称")
    private String name;

    @Schema(description = "账户")
    private String account;

    @Schema(description = "订单数")
    private Integer orderCount = 0;

    @Schema(description = "总收入")
    private BigDecimal orderPrice = BigDecimal.ZERO;

    @Schema(description = "退费数")
    private Integer refundCount = 0;

    @Schema(description = "总退费")
    private BigDecimal refundPrice = BigDecimal.ZERO;
}
